package com.hj.service;

import com.github.pagehelper.PageInfo;
import com.hj.form.RoleMenuForm;
import com.hj.pojo.Role;

import java.util.List;

public interface IRoleService {

	public PageInfo<Role> list(Integer page, Integer size, Role role);

	public void add(Role role);

	void delete(Integer id);

	void update(Role role);

	Role findOne(Integer id);

	public void addMenu(RoleMenuForm roleForm);
}
